home *** CD-ROM | disk | FTP | other *** search
/ User's Choice Windows CD / User's Choice Windows CD (CMS Software)(1993).iso / win_a_d / ativga31.zip / INSTALL.BAT next >
DOS Batch File  |  1992-04-06  |  4KB  |  98 lines

  1. echo off
  2. cls
  3. if () == (%1) goto NO_ARG
  4. if (a:) == (%1) goto FDISK
  5. if (b:) == (%1) goto FDISK
  6. cls
  7. echo                    ┌─────────────────────────────┐
  8. echo                    │** ATI Windows 3.1 Drivers **│
  9. echo                    └─────────────────────────────┘
  10. echo 
  11. echo         ───────────────────────────────────────────────────────────
  12. echo                    ERROR: Invalid drive specified.
  13. echo                      You must use drive A: or B:
  14. echo         ───────────────────────────────────────────────────────────
  15. echo 
  16. echo         In order to properly install the Windows 3.1 drivers, the
  17. echo         files contained in enclosed archive MUST be extracted to a
  18. echo         floppy disk. The Windows SETUP program will then use this
  19. echo         disk to configure Windows correctly. Please try again
  20. echo         specifying either drive A: or B:.
  21. goto DONE
  22.  
  23. :NO_ARG
  24. cls
  25. echo                    ┌─────────────────────────────┐
  26. echo                    │** ATI Windows 3.1 Drivers **│
  27. echo                    └─────────────────────────────┘
  28. echo                          ─────────────────
  29. echo      This batch file needs to know what drive you wish to install
  30. echo        the files on. You must install the drivers to a diskette.
  31. echo 
  32. echo                        ─────────────────────────
  33. echo                       │ Usage: INSTALL [drive]: │
  34. echo                        ─────────────────────────
  35. echo                           Example: INSTALL A:
  36. goto DONE
  37.  
  38. :FDISK
  39. cls
  40. echo                    ┌─────────────────────────────┐
  41. echo                    │** ATI Windows 3.1 Drivers **│
  42. echo                    └─────────────────────────────┘
  43. echo                          ─────────────────
  44. echo              This batch file will conveniently extract the
  45. echo              ATI Windows 3.1 Drivers to a floppy diskette.
  46. echo                          ─────────────────
  47. echo              Please ensure that you have a blank/formatted
  48. echo             floppy diskette ready before you continue. This
  49. echo               diskette may be a high or low density type.
  50. echo 
  51. echo               Press any key to continue the installation
  52. echo                         or CONTROL-C to abort.
  53. pause >nul
  54. cls
  55. echo                    ┌─────────────────────────────┐
  56. echo                    │** ATI Windows 3.1 Drivers **│
  57. echo                    └─────────────────────────────┘
  58. echo                          ─────────────────
  59. echo Decompressing. . .
  60. win31vga /e%1
  61. if not ERRORLEVEL 0 goto ERROR
  62. cls
  63. echo                    ┌─────────────────────────────┐
  64. echo                    │** ATI Windows 3.1 Drivers **│
  65. echo                    └─────────────────────────────┘
  66. echo                          ─────────────────
  67. echo                     ╒══════════════════════════╕
  68. echo                     │ Installation successful! │
  69. echo                     ╘══════════════════════════╛
  70. echo 
  71. echo The first step of the installing your ATI Windows 3.1 drivers is now
  72. echo complete. The next step is to tell Windows to use these drivers. Please
  73. echo read the README.TXT file for instructions on how to tell Windows to use
  74. echo these new drivers. The README.TXT file is located on the diskette your
  75. echo have just created. If you require assistance in any way, please feel
  76. echo free to contact ATI Customer Support.
  77. echo 
  78. echo           ATI Customer Support (416) 756-0711 9am-5:30pm EST
  79. goto DONE
  80. :ERROR
  81. cls
  82. echo                    ┌─────────────────────────────┐
  83. echo                    │** ATI Windows 3.1 Drivers **│
  84. echo                    └─────────────────────────────┘
  85. echo 
  86. echo                       ╒══════════════════════╕
  87. echo                       │ Installation failed! │
  88. echo                       ╘══════════════════════╛
  89. echo                           ───────────────
  90. echo  Please check the diskette that you specified and ensure it has at
  91. echo  360K free disk space. If this batch file continues to present problems,
  92. echo  please refer to the README.1ST file for instructions on how to manually
  93. echo  extract the Windows 3.1 drivers. If you continue to have problems,
  94. echo  download the file again or call ATI Customer Support for assistance.
  95. echo 
  96. echo           ATI Customer Support (416) 756-0711 9am-5:30pm EST
  97. :DONE
  98.